package com.alpha.eceasy.mall.api.dto;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ProjectName: admin-api
 * @Package: com.base.baseframemain.infrastructure.dict
 * @ClassName: DictCurrency
 * @Author: zhangsg
 * @Description:
 * @Date: 2023/7/24 14:43
 * @Version: 1.0
 */
@Data
@TableName("dict_currency")
@Deprecated
public class DictCurrency {


    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;

    private LocalDateTime deletedAt;

    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private Integer statusId;

    /**
     *编号
     */
    private String  code;
    /**
     *货币id
     */
    private Integer  currencyId;
    /**
     *货币英文名称
     */
    private String  currencyEn;
    /**
     *货币中文名称
     */
    private String  currencyCn;
    /**
     *货币符号
     */
    private String  currencySymbol;
    /**
     * 类型id
     */
    private Integer  categoryId;
    /**
     *类型
     */
    private String  category;
    /**
     *汇率
     */
    private String  exchangeRate;
    /**
     *是否与美元挂钩
     */
    private String  baseCurrency;
    /**
     *是否与美元挂钩
     */
    @TableField("whether_pairs_with_usd")
    private String  whetherPairsWithUSD;
    /**
     *小数点位数
     */
    private Integer  decimalPlaces;
}
